home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-09-11 | 2.1 KB | 77 lines | [ttro/ttxt] |
- AIAT 1.0.1 Release Notes
-
- Incompatible Changes
-
- There has been no real incompatible changes in this revision. However, the name of the source files have been changed from xxxx.cp to xxxx.cpp.
-
- New Features
-
-
- New member functions in TWVector
-
- Added the following new public functions to TWVector.
-
- bool HasNegativeComponents() const;
-
- Returns true if the vector has components with negative weight.
-
- IABlockSize StoreSize() const;
-
- Returns the store size of this vector.
-
- TWVector* DeepCopy() const;
-
- Returns a new vector which is a deep copy of this vector.
-
- void Store( IAOutputBlock *output ) const;
-
- Saves this vector given the output block.
-
- TWVector* Restore( IAInputBlock *input ) const;
-
- Streams in the vector given the input block.
-
- void SortByTerm();
-
- Sorts vector by the term (this is the normal ordering.)
-
- void SortByWeight();
-
- Sorts vector by weight.
-
- void SortByAbsoluteWeight();
-
- Sorts by absolute value of the component weight.
-
- void Truncate(uint32 maxTerms );
-
- Removes the terms with the lowest weights until maxTerms or fewer are left.
-
- void TruncateByAbsoluteValue(uint32 maxTerms );
-
- Removes the terms with the lowest absolute weights until maxTerms or fewer are left.
-
- TWVector* AddIntoAverage(const TWVector *newVector,
- uint32 totalVectorCount, bool invertSecondVector = false);
-
-
- The parameter newVector is added into the vector represented by this. A new vector representing the result is returned.
-
- TWVector* AddWeighted(const TWVector *vector, float weightFactor1,
- float weightFactor2);
-
- Same as above however, it does not allow negative components in vector.
-
- TWVector* AddWeightedAllowNegatives(const TWVector *vector, float weightFactor1,
- float weightFactor2);
-
- Same as AddIntoAverage however, it does allow negative components in vector.
-
- Bug Fixes
-
- Better Ranking - Fixed the ranked coordination scoring to make sure the document scores are normalized between 0 and 1.
-
- Heap Corruption - Fixed the heap corruption bug. This was an old bug causing heap exceptions under special circumstances.
-
- General Code Clean up - Here and there....
-